﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LexicalAnalysisCs;

namespace AsmFromGpp
{
    class Program
    {
        static void Main(string[] args)
        {
            GenerateAsm ga = new GenerateAsm();
            ga.GenAsmToFile("hello1.cpp");
            ga.GenInstructionList();
            List<LexicalAnalyzerCs.StrInt> lst = ga.MAsmInstList;
            foreach (var l in lst)
            {
                Console.WriteLine(l);
            }
            Console.ReadLine();
            Console.WriteLine(ga.MAsmCode);

            Console.ReadLine();
        }
    }
}
